<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class UserAccount extends Model
{
    protected $table = 'user_account';
    public $timestamps = false;

    const LEVEL1 = 1;
    const LEVEL2 = 2;
    const LEVEL3 = 3;
    const LEVEL4 = 4;
    const LEVEL5 = 5;
    const LEVEL6 = 6;
    const LEVEL7 = 7;
    const LEVEL = [
        self::LEVEL1 => '粉丝',
        self::LEVEL2 => '一级会员',
        self::LEVEL3 => '二级会员',
        self::LEVEL4 => '三级会员',
        self::LEVEL5 => '四级会员',
        self::LEVEL6 => '五级会员',
        self::LEVEL7 => '六级会员',
    ];

    const TOTAL_FIELD = [
        'money_recharge'        => 'total_recharge',
        'money_eight_consh'     => 'total_eight_consh',
        'money_consh'           => 'total_consh'
    ];



}
